package lesson20;

public class Person {
	private String name;
	Person(){};
	Person(String name)
	{
		this.name = name;
	}
	
	void setName(String name)
	{
		this.name = name;
	}
	
	boolean hasSameName(Person other)
	{
		try{
			return this.name.equals(other.name);
		}
		catch(NullPointerException e)
		{
			System.out.println("Name of your initial is null");
			return false;
		}
	}

}
// svn test commit
//server modification